package com.chixing.VO;

import java.math.BigDecimal;

public class VOCompanyJob {
    //职位id,职位名称，所在城市，薪资范围，工作年限，招聘人数，公司id, 公司名称，公司类型
    // j.job_id,j.job_title,j.job_location,j.job_salary_min,j.job_salary_max,j.experience_required,
    //j.job_vacancies,c.company_id,c.company_industry
    private Integer jobId;
    private String jobTitle;
    private String jobLocation;
    private BigDecimal jobSalaryMin;
    private BigDecimal jobSalaryMax;
    private String experienceRequired;
    private Integer jobVacancies;
    private Integer companyId;
    private String companyIndustry;

    public VOCompanyJob(){}
    public VOCompanyJob(Integer jobId, String jobTitle, String jobLocation, BigDecimal jobSalaryMin, BigDecimal jobSalaryMax, String experienceRequired, Integer jobVacancies, Integer companyId, String companyIndustry) {
        this.jobId = jobId;
        this.jobTitle = jobTitle;
        this.jobLocation = jobLocation;
        this.jobSalaryMin = jobSalaryMin;
        this.jobSalaryMax = jobSalaryMax;
        this.experienceRequired = experienceRequired;
        this.jobVacancies = jobVacancies;
        this.companyId = companyId;
        this.companyIndustry = companyIndustry;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getJobLocation() {
        return jobLocation;
    }

    public void setJobLocation(String jobLocation) {
        this.jobLocation = jobLocation;
    }

    public BigDecimal getJobSalaryMin() {
        return jobSalaryMin;
    }

    public void setJobSalaryMin(BigDecimal jobSalaryMin) {
        this.jobSalaryMin = jobSalaryMin;
    }

    public BigDecimal getJobSalaryMax() {
        return jobSalaryMax;
    }

    public void setJobSalaryMax(BigDecimal jobSalaryMax) {
        this.jobSalaryMax = jobSalaryMax;
    }

    public String getExperienceRequired() {
        return experienceRequired;
    }

    public void setExperienceRequired(String experienceRequired) {
        this.experienceRequired = experienceRequired;
    }

    public Integer getJobVacancies() {
        return jobVacancies;
    }

    public void setJobVacancies(Integer jobVacancies) {
        this.jobVacancies = jobVacancies;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyIndustry() {
        return companyIndustry;
    }

    public void setCompanyIndustry(String companyIndustry) {
        this.companyIndustry = companyIndustry;
    }

    @Override
    public String toString() {
        return "VOCompanyJob{" +
                "jobId=" + jobId +
                ", jobTitle='" + jobTitle + '\'' +
                ", jobLocation='" + jobLocation + '\'' +
                ", jobSalaryMin=" + jobSalaryMin +
                ", jobSalaryMax=" + jobSalaryMax +
                ", experienceRequired='" + experienceRequired + '\'' +
                ", jobVacancies=" + jobVacancies +
                ", companyId=" + companyId +
                ", companyIndustry='" + companyIndustry + '\'' +
                '}';
    }
}
